第 5 步:让我们使用列表而不是单独制作每个精灵。该列表将存储用于创建精灵的图像标签。

  • 在逻辑中,单击.将List of Strings代码底部。
  • 点击并拖出Variable Display
  • .Display()中的变量从my_varmy_list
  • .Display()中的 x 坐标参数从-200更改为-100

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)